package com.liu.project.dao;

import com.liu.project.pojo.Major;
import com.liu.project.pojo.Subject;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: project
 * @description: 专业
 * @author: 86187
 * @create: 2022-03-20 16:12
 **/

@Mapper
@Repository
public interface MajorMapper {

    List<Major> getAll();

    List<Major> getMajorByKey(String key);

    double getNameByid(int id);
}
